﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VC.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style>
        .ValidateCode{           
            cursor:pointer;
        }
    </style>
    <script>
        window.onload = function () {
            var img = document.getElementById("vCodeImg");
            img.onclick = function () {
                this.src = this.src + "1";
            }
        }
    </script>
</head>
<body>
    <form method="post" id="form1" runat="server">
    <div id="">

        <div class="ValidateCode">
        <img src="ValidateCodeHandler.ashx?num=1" alt="" id="vCodeImg"/>
         </div>
        验证码：<input type="text" name="txtVcode" />
        <input type="submit" name="name" value="提交" />
    </div>
    </form>
</body>
</html>
